package cn.school.educational.entity;

import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_teaching_material_store_detils")
public class TeachingMaterialStoreDetils {

  @TableId
  private Long id;
  private Long temaId;
  @ApiModelProperty("教材名称")
  private String temaName;
  @ApiModelProperty("教材编辑")
  private String temaCode;

  @ApiModelProperty("sku出入库类型")
  private String tmsdType;
  @ApiModelProperty("sku出入库数量")
  private Integer tmsdCount;
  @ApiModelProperty("sku出入库处理前数量")
  private Integer tmsdProcNotCount;
  @ApiModelProperty("sku出入库处理后数量")
  private Integer tmsdProcAfterCount;
  @ApiModelProperty("sku出入库处理经办人")
  private Long createBy;
  private Date createTime;
  private Long modifyBy;
  private Date modifyTime;
  /**
   * 默认租户为当前登录人的租户
   */
  private String tenantId = SysUserUtils.getSysUser().getTenantId();

}
